package com.thinkit.bigdata.web.model.sec;

import com.thinkit.bigdata.web.model.sys.SysOperateLog;

import java.util.Date;
import java.util.List;

/**
 * Created by BanAiQin on 2017/4/21.
 */
public class UserDto {
    private Long id;

    private String username;

    private String password;

    private String areaid;

    private String areaname;

    private String seeareanames;//用户能查看的地区，前端展示用

    private String areaLevel;//用户的地区级别，前端展示用

    //用户拥有的角色，前端展示用
    private String roleNames;

    private Date createtime;

    private Date modifiytime;

    private List<SysOperateLog> logs;

    public UserDto() {
    }

    public UserDto(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getAreaid() {
        return areaid;
    }

    public void setAreaid(String areaid) {
        this.areaid = areaid;
    }

    public String getAreaname() {
        return areaname;
    }

    public void setAreaname(String areaname) {
        this.areaname = areaname;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getModifiytime() {
        return modifiytime;
    }

    public void setModifiytime(Date modifiytime) {
        this.modifiytime = modifiytime;
    }

    public List<SysOperateLog> getLogs() {
        return logs;
    }

    public void setLogs(List<SysOperateLog> logs) {
        this.logs = logs;
    }

    public String getRoleNames() {
        return roleNames;
    }

    public void setRoleNames(String roleNames) {
        this.roleNames = roleNames;
    }

    public String getSeeareanames() {
        return seeareanames;
    }

    public void setSeeareanames(String seeareanames) {
        this.seeareanames = seeareanames;
    }

    public String getAreaLevel() {
        return areaLevel;
    }

    public void setAreaLevel(String areaLevel) {
        this.areaLevel = areaLevel;
    }
}